home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
T-Z
/
TestStack.cpt
/
Test Stack
/
card_5017.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
2KB
|
96 lines
-- card: 5017 from stack: in
-- bmap block id: 5678
-- flags: 0000
-- background id: 2753
-- name: LineContent
-- part 1 (field)
-- low flags: 01
-- high flags: 4002
-- rect: left=9 top=108 right=335 bottom=191
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 162
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: theField
----- HyperTalk script -----
on mouseUp
put "card field " & quote & "theField" & quote into theField
put LineContent(theField) into card field "lineContents"
end mouseUp
-- part 2 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=224 top=108 right=335 bottom=394
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 162
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: lineContents
----- HyperTalk script -----
on mouseUp
put "card field " & quote & "theField" & quote into theField
put LineContent(theField) into card field "lineContents"
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=195 top=108 right=335 bottom=218
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: FieldLineClicked XFCN
----- HyperTalk script -----
on mouseUp
put LineContent("card field " & quote & "theField" & quote) into card field "lineContents"
end mouseUp
-- part contents for background part 26
----- text -----
page 2
-- part contents for background part 25
----- text -----
LineContent
-- part contents for background part 30
----- text -----
353288
-- part contents for card part 1
----- text -----
The XFCN LineContent
takes an optional single
parameter:
the abbreviated name
of a field.
It then returns
the contents of the line
in the specified field
(or "the target" if no field
is specified)
correspondings to the
clickLoc.
-- part contents for card part 2
----- text -----
correspondings to the